<extend name="Include:Layout"/>
<block name="title">历史订单</block>
<block name="style">
<style>

</style>
</block>

<block name="main">
	<div class="weui_tab">
		<div class="weui_navbar">
			<div class="toolbar">
		        <div class="toolbar-inner">
		            <a href="javascript:history.go(-1);" class="picker-button close-popup">关闭</a>
		            <h1 class="title" id="banji_title">订单详情</h1>
		        </div>
		    </div>
		</div>
		
		<div class="weui_tab_bd container" id="lists" data-page="1">
		  	 <php>
			  if($info['status'] == 1) $status = '<span style="color:green">已支付</span>';
			  if($info['status'] == 2) $status = '<span style="color:red">未支付</span>';
			  if($info['status'] == 3) $status = '<span style="color:blue">已过期</span>';
			  </php>
	        <div class="weui_cells_title">缴费状态：{$status}</div>
		    <div class="weui_cells">
                <table style="width:100%;" cellpadding="0" cellspacing="0" >
                	<tr>
                		<th>编号</th>
                		<td>{$info.ddbh}</td>
                	</tr>
                	<tr>
                		<th>姓名</th>
                		<td>{$info.stuname}</td>
                	</tr>
                	<tr>
                		<th>电话</th>
                		<td>{$info.tel}</td>
                	</tr>
                	<tr>
                		<th>费用</th>
                		<td>{$info.total}</td>
                	</tr>
                 </table>
                 <volist name="info['detail']" id="vo">
                 <div style="margin-top:10px;">
                 <table style="width:100%;" cellpadding="0" cellspacing="0" >
                	<tr>
                		<th>校区</th>
                		<td>{$vo.xiaoqu}</td>
                	</tr>
                	<tr>
                		<th>课程</th>
                		<td>{$vo.banji}</td>
                	</tr>
                	<tr>
                		<th>班级</th>
                		<td>{$vo.lessonname}({$vo.lessoncode})</td>
                	</tr>
                	<tr>
                		<th>类型</th>
                		<td>{$vo.lessontype}</td>
                	</tr>
                	<tr>
                		<th>时间</th>
                		<td>{$vo.lessontime}</td>
                	</tr>
                	<tr>
                		<th>详情</th>
                		<td>{$vo.info}{$vo.remark}</td>
                	</tr>
                </table>
                </div>
                </volist>
		    </div>
		    <if condition="$info['status'] eq 2">
		    <div style="padding:15px;">
			  	<a href="/weixin/pay/index/id/{$_GET['id']}.html" class="weui_btn weui_btn_primary weixin_pay" data-status="0">继续支付</a>
			</div>
			</if>
		</div>
	</div>
</block>

<block name="script">
<script>

</script>
</block>

